#ifndef ISPELL_H
#define ISPELL_H

#include "qimage.h"
#include <string>

using namespace std;

class ISpellReceiver;

class ISpell
{
public:
	virtual void cast(ISpellReceiver &iReceiver) = 0;
	inline const QImage& getImage(void) const {return img; }
	inline string getName(void) const {return name; };

protected:
	inline void loadImage(std::string iFileName) { img.load(iFileName.c_str()); };
	inline void setName(string iName) {name = iName; };

private: 
	QImage img;
	string name;
};

#endif